

* {
	margin: 0 auto;
	font-family: cute;
}

@font-face {
	font-family: sgsz;
	src: url(../Fonts/二字元时光手账简繁.ttf);
}

@font-face {
	font-family: cute;
	src: url(../Fonts/cute.ttf);
}

body {
	width: 100%;
	margin: 0 auto;
	background-image: url(../Images/icon/background7.png);
	background-size: 50.125rem;
}

header #headerbox {
	height: 100%;
	width: 81.25rem;
	display: flex;
	align-items: center;

}


header {
	/*头部，指代Logo和导航栏*/
	width: 100%;
	height: 5.625rem;
	margin-bottom: 10px;
}


header .navstyle ul {
	width: 100%;
	float: right;
}

header .navstyle ul li {
	display: inline;
	font-size: 35px;
	padding: 25px;
	text-align: center;
}

header .navstyle ul li a {
	text-decoration: none;
	color: #424242;
}

header .navstyle ul li a:hover {
	color: #ffffff;
	text-shadow: 0 0 10px red, 0 0 20px red, 0 0 30px red, 0 0 40px red;
}

.logo-box {
	width: 18.125rem;
	height: 90px;
	float: left;
	margin-left: 2%;
}

.icon {
	/*头部左侧logo*/
	width: 100%;
	height: 100%;
	
}


#BoxMain {
	width: 81.25rem;
	/* background-image: url(../Images/icon/background4.jpg);
	background-size: cover; */
	
}
/* 响应式布局 */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    main {
        flex-direction: column;
    }

    .main-content {
        margin: 0 0 20px 0;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    nav ul li {
        margin: 10px 0;
    }

    .main-content, .sidebar {
        padding: 10px;
    }
}


#slideshow {
	position: relative;
	height: 28.125rem;
	overflow: hidden;
	margin-bottom: 15px;

}

.slideshowsub {
	height: 100%;
	width: 75.625rem;
	position: relative;

}

.slide {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	height: 100%;
	width: 100%;
	opacity: 0;
	transition: opacity 3s ease-in-out;
}

.slide.active {
	opacity: 1;
	z-index: 1;
}

.slideshowsub img {
	width: 100%;
	height: 100%;
	border-radius: 15px;
}

#Mainer {
	height: auto;
}

.top-box {
	height: 4.75rem;
	margin-top: 25px;
	margin-bottom: 35px
}

.information {
	width: 11.65rem;
	display: block;
	margin: auto;
	height: 100%;
}

/* 首页左下角盒子 */
.left-box {
	width: 45%;
	height: 31.25rem;
	float: left;
	margin-left: 0.9375rem;
}

/* 轮播图 */
.carousel-container {
	width: 100%;
	overflow: hidden;
}

.carousel {
	display: flex;
	width: 100%;
}

.carousel img {
	width: 100%;
	height: 100%;
	border-radius: 10px;
}

.carousel-item {
	flex-shrink: 0;
	width: 100%;
}

/* 轮播图 */

/* 好词好句 */
#quoteContainer {
	width: 100%;
	height: 8.75rem;
	margin-top: 0.3125rem;
	font-size: 1.5625rem;
	color: #2a2a2a;
	display: flex;
	align-items: center;
	justify-content: center;
	border: thick double #2e8cfd;
}

/* 右边盒子 */
.right-box {
	width: 50%;
	height: 31.25rem;
	float: right;
}


/* 新闻导航 */
.News_Navigation {
	padding: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.News_Navigation ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	display: flex;
}

.News_Navigation li {
	margin-right: 45px;
	transition: all 0.3s ease-in-out;
	/* 添加切换过渡动画效果 */
}

.News_Navigation a {
	font-size: 23px;
	color: #303030;
	text-decoration: none;
}

/* 鼠标悬停时改变导航栏样式 */
.News_Navigation li:hover {
	transform: scale(1.2);

	/* 添加悬停时的缩放效果，使导航项稍微放大 */
}

/* 指定当前活动项样式 */
.News_Navigation li.active {
	color: #ffcc00;
}


/* 新闻内容 */
.Content {
	width: 100%;
	height: 28rem;
	margin-top: 0.3125rem;
	border-radius: 10px;
	background:#DCE2F1;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.box {
	width: 95%;
	height: 50px;
	transition: transform 0.3s ease-in-out;
	margin-bottom: 15px;
	border-radius: 5px;
}

.box p {
	margin-top: 13px;
	float: left;
	font-size: 1.25rem;
}

a {
	text-decoration: none;
	color: #000000;

}

.box span {
	margin-top: 13px;
	font-size: 1.25rem;
	float: right;
}

.box:hover {
	transform: translateX(10px);
	box-shadow: 0 0 8px rgba(71, 71, 71, 0.3);
}

/* 下面是展示盒子 */
#Exhibit {
	width: 100%;
	height: 32rem;
	margin-top: 650px;
	border: thick double #7bbfe3;
	padding: 10px;
}

.container {
	grid-template-columns: repeat(5, 1fr);
	grid-gap: 15px;
	/* 可调整盒子之间的间距 */
	display: flex;
	flex-wrap: wrap;
	list-style-type: none;
	padding: 0px;
	margin-top: -5px;
}

.Landscape_display {
	width: 300px;
	height: 150px;
	padding:5px;
}

.Landscape_display img {
	width: 300px;
	height: 165px;
	border-radius: 5px;
}

.Landscape_display img:hover {
	box-shadow: 0 0 8px rgba(0, 0, 0, 1.0);
}

footer {
	width: 100%;
	height: 100px;
	margin-top: 1.5625rem;
	border-top: dotted #6096b1;
}


footer li {
	width: 145px;
	height: 25px;
	margin-right: 105px;
	font-size: 25px;
	list-style-type: none;
	float: left;
	margin-top: 2.0625rem;
	text-align: center;
}

footer li a:hover {
	color: #ffffff;
}


